package com.ydlclass.compress;

/**
 * 压缩接口
 * @Author duWenJian
 * @Date 2024/2/25 11:46
 * @Version 1.0
 */
public interface Compress {

    /**
     * 压缩
     * @param bytes
     * @return
     */
    byte[] compress(byte[] bytes);

    /**
     * 解压缩
     * @param bytes
     * @return
     */
    byte[] decompress(byte[] bytes);
}
